Using special characters in Web documents

Some characters will not display properly in Web documents because they are characters used in tags or for other purposes in HTML. Examples of such characters are < and >. However, you can include these special characters on your Web pages by using what are called "escape sequences."

Escape sequences begin with an ampersand (&) and end with a semicolon (;).

Escape sequences for HTML

Tag   Result    Character
&amp;  &  Ampersand
&lt;    <    Less than
&gt;   > Greater than
&nbsp;    Non-breaking space
&copy;   © Copyright symbol